package com.im.dao;
import com.im.pojo.Dept;
import com.im.pojo.Staff;
import org.springframework.stereotype.Repository;

import java.util.List;
@Repository
public interface DeptDao {
    public int save(Dept dept);
    public List<Staff> deleteById(Dept dept );
    public int updateById(Dept dept );
    public Dept queryById(Dept dept);
    public List<Dept> queryAll(Dept dept);
}
